package cn.imvc.app.models;

import org.springframework.data.domain.Page;

import cn.imvc.app.entities.PushMessage;
import cn.imvc.data.domain.ViewRequest;

public interface PushMessageModel {

	Page<PushMessage> find(ViewRequest viewRequest);

	PushMessage save(PushMessage pushMessage);

	PushMessage get(int id);

	PushMessage update(int id, PushMessage pushMessage);

	void delete(int id);

	void updatePushMessage(PushMessage pushMessage);
}
